package com.sinothk.gpserver.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sinothk.gpserver.modules.system.entity.*;

import java.util.Set;

/**
 * <p>
 * 用户相关 服务类
 * </p>
 *
 * @author Liang Y.t.
 * @since 2021-08-27
 */
public interface ILoginService extends IService<LoginEntity> {

    LoginDto register(RegisterUserVo sysRegisterUser);

    LoginDto loginAuto();

    LoginDto login(LoginVo loginVo);

    Set<String> queryUserRoles(String username);

    Set<String> queryUserAuths(String username);

    Set<String> getUserPermissionSet(String username);

    LoginEntity getUserByAccount(String account);

}
